added usage
generates JSON