json templates, shared component bugfixes and preparing for native implementations