Added JSON definitions to core library