FLesh out API some; parse incoming JSON