A perl hack to generate database objects based on the JSON description. Currently testing.