Add in basic but imperfect form handling. Creating layouts from JSON resources works.