replaced custom syntax with json