Fixed type in jsonofy