Adding more convenient macros for json and resource loading, reactify UIViewController dismiss and present