Cleaned up some unused json methods.