scaffolding, json reading