Move object so it is in scope

MasterJsonProtocol is not available until you define it, even with the import statement.  This fixes the problem for me locally.  When they are in different files make sure you declare a package for both so the import statements will work.