json in right form