Added method to assembly api to get all assemblies.  Also fixed an issue with assembly as_json method.