started mapping to JSON