Simplified JSON generation

JSON generation is now handled by the ApexModel class, further
abstracting logic from controller methods