Improve usability of DynamoDB query