re-formatted JSON, added space API