Hi
1851 there is a James Massone b Queensferry 1811, a pattern maker with wife Elizabeth living in the Gorbals and with an infant 1mo as well as older children. 1861 transcribed as James Mason and with wife Elizabeth B the same family seem to be in Leith. Son John is 10 and born Glasgow and daughter Margaret 3 b St Cuthberts (civil parish showing as Leith St Cuthberts). The older siblings also seem to match.
William