Use the DynamoDB high level clients, so that JSON is supported natively with no need to convert between JSON and DynamoDB JSON:
https://aws.amazon.com/blogs/database/exploring-amazon-dynamodb-sdk-clients/