Added JSON POST, fixed namespaces.